﻿namespace Wechat.Corp.Auth.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public interface IWechatCorpAuthConfiguration
    {
        /// <summary>
        /// 详见文档 ---> https://developer.work.weixin.qq.com/document/path/91022
        /// </summary>
        const string OPEN_AUTH_URI = "https://open.weixin.qq.com/connect/oauth2/authorize#wechat_redirect";
        /// <summary>
        /// 详见文档 ---> https://developer.work.weixin.qq.com/document/15056
        /// </summary>
        const string QR_AUTH_URI = "https://open.work.weixin.qq.com/wwopen/sso/qrConnect";
        /// <summary>
        /// 详见文档 ---> https://developer.work.weixin.qq.com/document/path/91507
        /// </summary>
        const string SESSION_URI = "https://qyapi.weixin.qq.com/cgi-bin/miniprogram/jscode2session";
        /// <summary>
        /// 详见文档 ---> https://developer.work.weixin.qq.com/document/path/98176
        /// </summary>
        const string USER_INFO_URI = "https://qyapi.weixin.qq.com/cgi-bin/auth/getuserinfo";
        /// <summary>
        /// 
        /// </summary>
        string OpenAuthUri { get; set; }

        /// <summary>
        /// 
        /// </summary>
        string QrAuthUri { get; set; }

        /// <summary>
        /// 
        /// </summary>
        string SessionUri { get; set; }

        /// <summary>
        /// 
        /// </summary>
        string UserInfoUri { get; set; }

    }
}
